package com.sven;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
// @EnableAutoImport
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
        // ConfigurableApplicationContext ca = SpringApplication.run(DemoApplication.class, args);
        // //从ioc容器中得到对象实例
        // FirstClass fc = ca.getBean(FirstClass.class);
        // System.out.println(fc);
    }

}
